<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{jyzybgForm.bundleName}"/>
    <head>
        <title>#{text['jyzybgDetail.title']}</title>
        <meta name="heading" content="#{text['jyzybgDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="jyzybgForm">

<h:form id="jyzybgForm" onsubmit="return validateJyzybgForm(this)">
<h:inputHidden value="#{jyzybgForm.jyzybg.id}" id="id"/>
<h:inputHidden value="#{jyzybgForm.jyzybg.version}" id="version"/>
<h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{jyzybgForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty jyzybgForm.jyzybg.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{jyzybgForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Jyzybg')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
</h:panelGroup>

<h:panelGrid columns="3">

    <h:outputLabel styleClass="desc" for="jyzynr" value="#{text['jyzybg.jyzynr']}"/>
    <t:message for="jyzynr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jyzynr" value="#{jyzybgForm.jyzybg.jyzynr}" required="false" maxlength="100">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="cszysj" value="#{text['jyzybg.cszysj']}"/>
    <t:message for="cszysj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cszysj" value="#{jyzybgForm.jyzybg.cszysj}" required="false" maxlength="20">
    </h:inputText>
   
    <h:outputLabel styleClass="desc" for="jszysj" value="#{text['jyzybg.jszysj']}"/>
    <t:message for="jszysj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jszysj" value="#{jyzybgForm.jyzybg.jszysj}" required="false" maxlength="20">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zjjyxm" value="#{text['jyzybg.zjjyxm']}"/>
    <t:message for="zjjyxm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zjjyxm" value="#{jyzybgForm.jyzybg.zjjyxm}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zjsj" value="#{text['jyzybg.zjsj']}"/>
    <t:message for="zjsj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zjsj" value="#{jyzybgForm.jyzybg.zjsj}" required="false" maxlength="10">
    </h:inputText>
 <!--    
    <h:outputLabel styleClass="desc" for="id" value="#{text['jyzybg.id']}"/>
    <t:message for="id" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="id" value="#{jyzybgForm.jyzybg.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['jyzybg.id']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['jyzybg.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{jyzybgForm.jyzybg.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['jyzybg.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{jyzybgForm.jyzybg.optdate}" required="false" maxlength="23">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="username" value="#{text['jyzybg.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{jyzybgForm.jyzybg.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="xh" value="#{text['jyzybg.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{jyzybgForm.jyzybg.xh}" required="false" maxlength="255">
    </h:inputText>
 -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateJyzybgForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('jyzybgForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
